package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.commmon.HeemoneyProviderSubmitCommonDTO;
import com.financial.service.heemoney.dto.commmon.HeemoneyRegisterCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyRegisterBusinessDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/2 0002 下午 3:42
 * @Des  汇收银注册参数模型
 */
public class HeemoneyRegisterParamDTO extends BaseHeemoneyParamDTO<HeemoneyRegisterCommonDTO, HeemoneyRegisterBusinessDTO> {

    /**
     * 公共参数
     */
    private HeemoneyRegisterCommonDTO heemoneyRegisterCommonDTO;
    /**
     * 业务参数
     */
    private HeemoneyRegisterBusinessDTO heemoneyRegisterBusinessDTO;

    public HeemoneyRegisterParamDTO(HeemoneyRegisterCommonDTO baseHeemoneyCommonDTO, HeemoneyRegisterBusinessDTO baseHeemoneyBusinessDTO) {
        super(baseHeemoneyCommonDTO, baseHeemoneyBusinessDTO);
        this.heemoneyRegisterCommonDTO = baseHeemoneyCommonDTO;
        this.heemoneyRegisterBusinessDTO = baseHeemoneyBusinessDTO;
    }


    public HeemoneyRegisterCommonDTO getHeemoneyRegisterCommonDTO() {
        return heemoneyRegisterCommonDTO;
    }

    public void setHeemoneyRegisterCommonDTO(HeemoneyRegisterCommonDTO heemoneyRegisterCommonDTO) {
        this.heemoneyRegisterCommonDTO = heemoneyRegisterCommonDTO;
    }

    public HeemoneyRegisterBusinessDTO getHeemoneyRegisterBusinessDTO() {
        return heemoneyRegisterBusinessDTO;
    }

    public void setHeemoneyRegisterBusinessDTO(HeemoneyRegisterBusinessDTO heemoneyRegisterBusinessDTO) {
        this.heemoneyRegisterBusinessDTO = heemoneyRegisterBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyRegisterCommonDTO.signStr();
    }

    @Override
    protected HeemoneyRegisterBusinessDTO getBusinessDTO() {
        return heemoneyRegisterBusinessDTO;
    }

    @Override
    protected HeemoneyRegisterCommonDTO getCommonDTO() {
        return heemoneyRegisterCommonDTO;
    }


}
